<?php

use Illuminate\Database\Seeder;

class TypeTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $sql = "insert  into `type`(`id`,`name`,`pid`,`path`) values (1,'服装',0,'0,'),(2,'数码',0,'0,'),(3,'男装',1,'0,1,'),(4,'夹克',3,'0,1,3,'),(5,'电脑',2,'0,2,'),(6,'手机',2,'0,2,'),(7,'笔记本',5,'0,2,5,'),(8,'台式机',5,'0,2,5,'),(9,'女装',1,'0,1,'),(10,'童装',1,'0,1,'),(11,'食品',0,'0,'),(12,'地方特产',11,'0,11,'),(13,'智能手机',6,'0,2,6,'),(14,'老人机',6,'0,2,6,'),(15,'连衣裙',9,'0,1,9,'),(16,'男西装',3,'0,1,3,')";
        DB::insert($sql);
    }
}
